<?php
return [
    'common'    => [
        'app_name'  => 'waf',   
    ],
    'log'       => [
        'log_level' => 5,
        'log_path'  => '/data/log/php',
        'log_file'  => 'waf.log',
    ],
    'server'    => [
        'ip'            => '0.0.0.0',
        'port'          => 19501,
        'name'          => 'waf',   // 用于进程名称
        'mode'          => SWOOLE_PROCESS,
        'sock_type'     => SWOOLE_SOCK_TCP, // SWOOLE_SOCK_TCP, SWOOLE_SOCK_UDP
        'setting'       => [
            'worker_num'    => 2,
            'daemonize'     => 0,
        ],
    ],
];
?>
